]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
main: Replace Meta.register_with_session()
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 15 Jul 2021 17:46:47 +0000 (19:46 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sun, 18 Jul 2021 21:11:43 +0000 (23:11 +0200)
The functionality moved into the new Meta.Context.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1917>

js/ui/main.js

index 979fcefa5d2bef5bfa49e86ac4d0b82343f17fad..549ecedd860b7f507d2ebb531ac08bee637896d3 100644 (file)
@@ -258,7 +258,7 @@ function _initializeUI() {
     // We're ready for the session manager to move to the next phase
     GLib.idle_add(GLib.PRIORITY_DEFAULT, () => {
         Shell.util_sd_notify();
-        Meta.register_with_session();
+        global.context.notify_ready();
         return GLib.SOURCE_REMOVE;
     });